/*
 * GatlingGun.java
 *
 * Created on 28. April 2007, 11:37
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package de.tor.obj.impl;

import de.tor.obj.*;

/**
 *
 * @author Charon
 */
public class GatlingGun extends AbstractWeapon{
      
    /** Creates a new instance of GatlingGun */
    public GatlingGun(TorridityGameObject parent) {
        super(parent);
        setProjectile(ProjectileFactory.GATLING_PROJECTILE);
    }
    
    public AbstractProjectile createProjectile() {
        return ProjectileFactory.factorProjectile(getParent(), getProjectile());
    }
    
}
